<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			function sum(num1,num2,num3){
				
				console.log(num1,num2,num3);
			}
//			sum(1);
			
			function dateGril(flag,goToMovie){
				if(flag==1){
					goToMovie();//movie();
				}
			}
			
			function movie(){
				console.log('go to movie');
			}
			dateGril(1,movie);
			
		</script>
	</body>
</html>
